<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
<head>
<title>list</title>
<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
<script type="text/javascript" src="${ctx}/script/common/checkbox.js"></script>
<script type="text/javascript" src="${ctx}/script/common/jquery.js"></script>
<script type="text/javascript" src="${ctx}/script/product/article.js"></script>
<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
</head>
<body>
<form action="${ctx}/article/articleManage.do" method="post">
<table align="center" width="100%" id="List">
	<input type="hidden" name="method" value="articleList" />
	<input type="hidden" name="article.type"
		value="${article.type}" />
	<input type="hidden" name="article.pid"
		value="${article.pid}" />
	<input type="hidden" name="ids"/>
	<tr>
		<th class="td_01" width="5%" height="25px"><input
			type="checkbox" name="chkSelectAll"
			onclick="javascript:checkedAll(this);" /></th>
		<th class="td_01">标题</th>
		<th class="td_01">链接</th>
		<th class="td_01">顺序</th>
		<th class="td_01">操作</th>
	</tr>
	<logic:present name="articleList">
		<logic:iterate id="entity" name="articleList">
			<tr>
				<td class="td_03" width="5%" height="25px" ><input type="checkbox"
					id="chkSel" name="chkSel" value="${entity.id}" /></td>
				<td class="td_03" width="180px">${entity.title}</td>
				<td class="td_03">${entity.url}</td>
				<td class="td_03">${entity.sequence}</td>
				<td class="td_03"><a href="${ctx}/article/articleManage.do?method=toUpdateArticle&article.id=${entity.id}">编辑资料 </a></td>
			</tr>
		</logic:iterate>
	</logic:present>
	<tr>
		<td colspan="9" align="center">
		<input type="button" class="btn" onclick="location.href='${ctx}/article/articleManage.do?method=toAddArticle&article.pid=${article.pid}&article.type=${article.type}';" name="add" value="添加">
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="button" class="btn" onclick="deletes('${ctx}');" name="delete" value="删除">
		</td>
	</tr>
	<tr>
		<td colspan="5" align="right">
        	<%@ include file="/pages/safeai/jsp/common/page.jsp"%>&nbsp;&nbsp;&nbsp;&nbsp;
		</td>
	</tr>
</table>
</form>
</body>
</html>